﻿using System;
using System.Collections.Generic;
using DomenModel;

namespace Model.Service
{
    public interface IMerchandiseService
    {
        //List<Order> GetOrders();
        List<Order> GetPaginationListOfOrders(int page, int itemOnPage, string t);
        List<Order> GetPaginationWithFilter(int page, int itemsOnPage, string orderItemsBy, string searchString, string listSelectField, string listSelectCondition);
        bool EditOrder(Order order);
        Order GetOrder(int id);
        long GetCountOfOrders();
        long GetCountOfOrders(string searchString, string listSelectField, string listSelectCondition);

        List<OrderDetails> GetOrdersDetailsOfOrder(int orderId);


    }
}
